package com.toommi.refuse.entity;

/**
 * 文本消息
 * @author caspar.chen
 * @version 1.0
 * 
 */
public class TextMessage extends CustomerBaseMessage{
	
	/**
	 * 文本消息对象
	 */
	private Text text;
	
	private String   ToUserName;
	
	private String   FromUserName;
	
	private Long    CreateTime;  
	
    private String   MsgType;  
    
    private Integer  FuncFlag;
    
    private String Content;
    
    private String Event;
    
    private Long MsgId;
	

	public Text getText() {
		return text;
	}

	public void setText(Text text) {
		this.text = text;
	}

	public TextMessage(Text text) {
		super();
		this.text = text;
	}

	public TextMessage() {
		super();
	}

	public String getToUserName() {
		return ToUserName;
	}

	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}

	public String getFromUserName() {
		return FromUserName;
	}

	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}

	public Long getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(Long createTime) {
		CreateTime = createTime;
	}

	public String getMsgType() {
		return MsgType;
	}

	public void setMsgType(String msgType) {
		MsgType = msgType;
	}

	public Integer getFuncFlag() {
		return FuncFlag;
	}

	public void setFuncFlag(Integer funcFlag) {
		FuncFlag = funcFlag;
	}

	public String getContent() {
		return Content;
	}

	public void setContent(String content) {
		Content = content;
	}

	public String getEvent() {
		return Event;
	}

	public void setEvent(String event) {
		Event = event;
	}

	public Long getMsgId() {
		return MsgId;
	}

	public void setMsgId(Long msgId) {
		MsgId = msgId;
	}

	@Override
	public String toString() {
		return "TextMessage [text=" + text + ", ToUserName=" + ToUserName + ", FromUserName=" + FromUserName
				+ ", CreateTime=" + CreateTime + ", MsgType=" + MsgType + ", FuncFlag=" + FuncFlag + ", Content="
				+ Content + ", Event=" + Event + ", MsgId=" + MsgId + "]";
	}
}
